<template>
    
    <div v-if="currentTime">
        
        <!-- <div>{{ currentTime.split(' ')[0] }}</div>
        <div><span class="week">{{ currentTime.split(' ')[1] }}</span> <span class="time">{{ currentTime.split(' ')[2].substr(0,5) }}</span></div>
    -->
    {{ userStore.timeString }}
    </div> 
    
</template>

<script setup>
import {ref} from 'vue'
import { storeToRefs } from 'pinia'
import { useUserStore } from '@renderer/store/user'
const userStore = useUserStore()
const { userInfo,currentTime} = storeToRefs(userStore)


</script>

<style lang="scss" scoped></style>